﻿using System;
using T0yK4T.IO;
using T0yK4T.Tools;
using ToyChat.Server;
using ToyChat.Client;

namespace ToyChat
{
    /// <summary>
    /// Third party modules should derrive from this interface if they wish access to the packet queue on <see cref="IClient"/>
    /// </summary>
    public interface IClientModule : IModule
    {
        /// <summary>
        /// This method is called by the client once it has received an instance of the implementor
        /// </summary>
        /// <param name="component">The component that owns this handler</param>
        void Initialize(IClient component);
    }
}